/*
 * @Descripttion:
 * @LastEditors: xzh
 * @LastEditTime: 2024-06-14 20:47:51
 */

import { resData_Inf } from "@/store/router/index.type";
import AbnormalManageRouter_Constants from "../router-abnormalManage";

/*
 * @Descripttion:dashboard模块菜单路由
 * @LastEditors: xzh
 * @LastEditTime: 2023-09-13 13:42:27
 */
export default class DashboardManageRouter_Constants extends AbnormalManageRouter_Constants {
  /**
   * @Author: xzh
   * @Descripttion: 数据看板
   * @Param:
   */
  static dashboardManage: Array<resData_Inf> = [
    {
      guid: "guid_factoryDashboard",
      parentGuid: "guid_dashboardManage",
      liDataName: "factoryDashboard",
      //t("page.dashboardManageArr.factoryDashboard")
      liName: "page.dashboardManageArr.factoryDashboard",
      liIcon: "menu",
      isChild: true,
    },
    {
      guid: "guid_produceDashboard",
      parentGuid: "guid_factoryDashboard",
      liDataName: "produceDashboard",
      //t("page.dashboardManageArr.factoryDashboardArr.produceDashboard")
      liName: "page.dashboardManageArr.factoryDashboardArr.produceDashboard",
      liHref: "dashboardManage/factoryDashboard/produceDashboard/index",
    },
    {
      guid: "guid_equipDashboard",
      parentGuid: "guid_factoryDashboard",
      liDataName: "equipDashboard",
      //t("page.dashboardManageArr.factoryDashboardArr.equipDashboard")
      liName: "page.dashboardManageArr.factoryDashboardArr.equipDashboard",
      // liHref: "dashboardManage/factoryDashboard/equipDashboard/index",
      liHref: "dashboardManage/sellServiceDashboard/afterSale-equip/index",
    },
    // {
    //   guid: "guid_moldDashboard",
    //   parentGuid: "guid_factoryDashboard",
    //   liDataName: "moldDashboard",
    //   //t("page.dashboardManageArr.factoryDashboardArr.moldDashboard")
    //   liName: "page.dashboardManageArr.factoryDashboardArr.moldDashboard",
    //   // liHref: "dashboardManage/factoryDashboard/moldDashboard/index",
    //   liHref: "dashboardManage/sellServiceDashboard/afterSale-mold/index",
    // },
    {
      guid: "guid_abnormalDashboard",
      parentGuid: "guid_factoryDashboard",
      liDataName: "abnormalDashboard",
      //t("page.dashboardManageArr.factoryDashboardArr.abnormalDashboard")
      liName: "page.dashboardManageArr.factoryDashboardArr.abnormalDashboard",
      liHref: "dashboardManage/factoryDashboard/abnormalDashboard/index",
    },
    {
      guid: "guid_sellServiceDashboard",
      parentGuid: "guid_dashboardManage",
      liDataName: "sellServiceDashboard",
      //t("page.dashboardManageArr.sellServiceDashboard")
      liName: "page.dashboardManageArr.sellServiceDashboard",
      liIcon: "menu",
      isChild: true,
    },
    {
      guid: "guid_afterSaleDashboard",
      parentGuid: "guid_sellServiceDashboard",
      liDataName: "afterSaleDashboard",
      //t("page.dashboardManageArr.sellServiceDashboardArr.afterSaleDashboard")
      liName:
        "page.dashboardManageArr.sellServiceDashboardArr.afterSaleDashboard",
      // liHref: "dashboardManage/sellServiceDashboard/afterSaleDashboard/index",
      liHref: "dashboardManage/dataVDashboard/index",
    },
    {
      guid: "guid_afterSaleStatisticDetails",
      parentGuid: "guid_sellServiceDashboard",
      liDataName: "afterSaleStatisticDetails",
      //t("page.dashboardManageArr.sellServiceDashboardArr.afterSaleDashboard")
      liName: "售服统计详情",
      liHref:
        "dashboardManage/sellServiceDashboard/afterSaleDashboard/afterSale-statistic/statistic-details/index",
      hidden: true,
    },
    {
      guid: "guid_afterSaleStatisticDetails_equip",
      parentGuid: "guid_sellServiceDashboard",
      liDataName: "afterSaleStatisticDetails_equip",
      //t("page.dashboardManageArr.factoryDashboardArr.equipDashboardDetails")
      liName:
        "page.dashboardManageArr.factoryDashboardArr.equipDashboardDetails",
      liHref:
        "dashboardManage/sellServiceDashboard/afterSaleDashboard/afterSale-statistic/statistic-details/index",
      hidden: true,
    },
    {
      guid: "guid_afterSaleStatisticDetails_mold",
      parentGuid: "guid_sellServiceDashboard",
      liDataName: "afterSaleStatisticDetails_mold",
      //t("page.dashboardManageArr.factoryDashboardArr.moldDashboardDetails")
      liName:
        "page.dashboardManageArr.factoryDashboardArr.moldDashboardDetails",
      liHref:
        "dashboardManage/sellServiceDashboard/afterSaleDashboard/afterSale-statistic/statistic-details/index",
      hidden: true,
    },
    // {
    //   guid: "guid_groupDashboard",
    //   parentGuid: "guid_dashboardManage",
    //   liDataName: "groupDashboard",
    //   //t("page.dashboardManageArr.groupDashboard")
    //   liName: "page.dashboardManageArr.groupDashboard",
    //   liIcon: "menu",
    //   isChild: true,
    // },
    // {
    //   guid: "guid_groupHrefDashboard",
    //   parentGuid: "guid_groupDashboard",
    //   liDataName: "groupHrefDashboard",
    //   //t("page.dashboardManageArr.groupDashboard")
    //   liName: "page.dashboardManageArr.groupDashboard",
    //   externalHref: "http://222.92.213.45:9089/",
    // },
  ];
}
